# $Id: PKGBUILD 183268 2013-04-20 07:13:33Z andyrtr $
# Maintainer: AndyRTR <andyrtr@archlinux.org>
# Contributor: Robert McCathie <archaur at rmcc dot com dot au>

pkgname=libwps
pkgver=0.2.8
pkgrel=1
pkgdesc="a Microsoft Works file word processor format import filter library"
arch=('i686' 'x86_64')
url="http://libwps.sourceforge.net/"
license=('LGPL')
depends=('libwpd>=0.9.6')
makedepends=('boost')
options=(!libtool)
source=("http://downloads.sourceforge.net/project/libwps/$pkgname/$pkgname-$pkgver/$pkgname-$pkgver.tar.bz2")
md5sums=('78196c097db366fac66841d032b1ddac')

build() {
	cd "$srcdir/$pkgname-$pkgver"
	./configure  --prefix=/usr \
	  --disable-static \
	  --disable-werror
	make
}

package() {
	cd "$srcdir/$pkgname-$pkgver"
	make DESTDIR="$pkgdir" install
}

